package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by pjn on 2017/7/22.
 */
@Entity
@Table(name = "tb_machine_fault", schema = "hualude_db", catalog = "")
public class MachineFaultEntity {
    private int machineFaultId;
    private Integer signalMachineId;
    private Integer machineLevel;
    private String machinePhoto;
    private Integer machineType;
    private String machineReason;
    private Integer machineCreatorId;
    private String machineTime;
    private Integer machineCheckerId;
    private String machineCheckTime;
    private Integer machineCheck;
    private Integer machineMainCheckerId;
    private String machineMainCheckTime;
    private Integer machineMainCheck;
    private String machineFeedback;
    private Double machineMoney;
    private Integer machineOrgId;
    private Integer machineMainOrgId;
    private Integer machineMaintainerId;
    private String machineMaintenancePhoto;
    private String machineMaintenanceContent;
    private String machineMaintenanceExplain;
    private Integer machineMaintenanceStatus;
    private String machineMaintenanceTime;
    private String machineADeviceId;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "MachineFaultId")
    public int getMachineFaultId() {
        return machineFaultId;
    }

    public void setMachineFaultId(int machineFaultId) {
        this.machineFaultId = machineFaultId;
    }

    @Basic
    @Column(name = "SignalMachineId")
    public Integer getSignalMachineId() {
        return signalMachineId;
    }

    public void setSignalMachineId(Integer signalMachineId) {
        this.signalMachineId = signalMachineId;
    }

    @Basic
    @Column(name = "MachineLevel")
    public Integer getMachineLevel() {
        return machineLevel;
    }

    public void setMachineLevel(Integer machineLevel) {
        this.machineLevel = machineLevel;
    }

    @Basic
    @Column(name = "MachinePhoto")
    public String getMachinePhoto() {
        return machinePhoto;
    }

    public void setMachinePhoto(String machinePhoto) {
        this.machinePhoto = machinePhoto;
    }

    @Basic
    @Column(name = "MachineType")
    public Integer getMachineType() {
        return machineType;
    }

    public void setMachineType(Integer machineType) {
        this.machineType = machineType;
    }

    @Basic
    @Column(name = "MachineReason")
    public String getMachineReason() {
        return machineReason;
    }

    public void setMachineReason(String machineReason) {
        this.machineReason = machineReason;
    }

    @Basic
    @Column(name = "MachineCreatorId")
    public Integer getMachineCreatorId() {
        return machineCreatorId;
    }

    public void setMachineCreatorId(Integer machineCreatorId) {
        this.machineCreatorId = machineCreatorId;
    }

    @Basic
    @Column(name = "MachineTime")
    public String getMachineTime() {
        return machineTime;
    }

    public void setMachineTime(String machineTime) {
        this.machineTime = machineTime;
    }

    @Basic
    @Column(name = "MachineCheckerId")
    public Integer getMachineCheckerId() {
        return machineCheckerId;
    }

    public void setMachineCheckerId(Integer machineCheckerId) {
        this.machineCheckerId = machineCheckerId;
    }

    @Basic
    @Column(name = "MachineCheckTime")
    public String getMachineCheckTime() {
        return machineCheckTime;
    }

    public void setMachineCheckTime(String machineCheckTime) {
        this.machineCheckTime = machineCheckTime;
    }

    @Basic
    @Column(name = "MachineCheck")
    public Integer getMachineCheck() {
        return machineCheck;
    }

    public void setMachineCheck(Integer machineCheck) {
        this.machineCheck = machineCheck;
    }

    @Basic
    @Column(name = "MachineMainCheckerId")
    public Integer getMachineMainCheckerId() {
        return machineMainCheckerId;
    }

    public void setMachineMainCheckerId(Integer machineMainCheckerId) {
        this.machineMainCheckerId = machineMainCheckerId;
    }

    @Basic
    @Column(name = "MachineMainCheckTime")
    public String getMachineMainCheckTime() {
        return machineMainCheckTime;
    }

    public void setMachineMainCheckTime(String machineMainCheckTime) {
        this.machineMainCheckTime = machineMainCheckTime;
    }

    @Basic
    @Column(name = "MachineMainCheck")
    public Integer getMachineMainCheck() {
        return machineMainCheck;
    }

    public void setMachineMainCheck(Integer machineMainCheck) {
        this.machineMainCheck = machineMainCheck;
    }

    @Basic
    @Column(name = "MachineFeedback")
    public String getMachineFeedback() {
        return machineFeedback;
    }

    public void setMachineFeedback(String machineFeedback) {
        this.machineFeedback = machineFeedback;
    }

    @Basic
    @Column(name = "MachineMoney")
    public Double getMachineMoney() {
        return machineMoney;
    }

    public void setMachineMoney(Double machineMoney) {
        this.machineMoney = machineMoney;
    }


    @Basic
    @Column(name = "MachineOrgId")
    public Integer getMachineOrgId() {
        return machineOrgId;
    }

    public void setMachineOrgId(Integer machineOrgId) {
        this.machineOrgId = machineOrgId;
    }

    @Basic
    @Column(name = "MachineMainOrgId")
    public Integer getMachineMainOrgId() {
        return machineMainOrgId;
    }

    public void setMachineMainOrgId(Integer machineMainOrgId) {
        this.machineMainOrgId = machineMainOrgId;
    }

    @Basic
    @Column(name = "MachineMaintainerId")
    public Integer getMachineMaintainerId() {
        return machineMaintainerId;
    }

    public void setMachineMaintainerId(Integer machineMaintainerId) {
        this.machineMaintainerId = machineMaintainerId;
    }

    @Basic
    @Column(name = "MachineMaintenancePhoto")
    public String getMachineMaintenancePhoto() {
        return machineMaintenancePhoto;
    }

    public void setMachineMaintenancePhoto(String machineMaintenancePhoto) {
        this.machineMaintenancePhoto = machineMaintenancePhoto;
    }

    @Basic
    @Column(name = "MachineMaintenanceContent")
    public String getMachineMaintenanceContent() {
        return machineMaintenanceContent;
    }

    public void setMachineMaintenanceContent(String machineMaintenanceContent) {
        this.machineMaintenanceContent = machineMaintenanceContent;
    }

    @Basic
    @Column(name = "MachineMaintenanceExplain")
    public String getMachineMaintenanceExplain() {
        return machineMaintenanceExplain;
    }

    public void setMachineMaintenanceExplain(String machineMaintenanceExplain) {
        this.machineMaintenanceExplain = machineMaintenanceExplain;
    }

    @Basic
    @Column(name = "MachineMaintenanceStatus")
    public Integer getMachineMaintenanceStatus() {
        return machineMaintenanceStatus;
    }

    public void setMachineMaintenanceStatus(Integer machineMaintenanceStatus) {
        this.machineMaintenanceStatus = machineMaintenanceStatus;
    }

    @Basic
    @Column(name = "MachineMaintenanceTime")
    public String getMachineMaintenanceTime() {
        return machineMaintenanceTime;
    }

    public void setMachineMaintenanceTime(String machineMaintenanceTime) {
        this.machineMaintenanceTime = machineMaintenanceTime;
    }

    @Basic
    @Column(name = "MachineADeviceId")
    public String getMachineADeviceId() {
        return machineADeviceId;
    }

    public void setMachineADeviceId(String machineADeviceId) {
        this.machineADeviceId = machineADeviceId;
    }
}
